<?php

require_once ('CoreTag.php');

class Body extends CoreTag {
	
	protected $alink;
	protected $background;
	protected $bgcolor;
	protected $link;
	protected $text;
	protected $vlink;
	
	public function __construct() {
		parent::__construct ("body");
		$this->alink="";
		$this->background="";
		$this->bgcolor="";
		$this->link="";
		$this->text="";
		$this->vlink="";
		$this->attributeNames=array_merge($this->attributeNames,array('alink','background','link','text','vlink'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','',''));
	}
	
	public function setALink($_alink)
	{
		$this->alink=(string)$_alink;
		$this->setAttributeValue('alink',$_alink);
	}
	
	public function getALink()
	{
		return $this->alink;
	}
	
	public function setBackground($_background)
	{
		$this->background=$_background;
		$this->setAttribute('background',$_background);
	}
	
	public function getBackground()
	{
		return $this->background;
	}
	
	public function setBgColor($_bgcolor)
	{
		$this->bgcolor=(string)$_bgcolor;
		$this->setAttribute('bgcolor',$_bgcolor);
	}
	
	public function getBgColor()
	{
		return $this->bgcolor;
	}
	
	public function setLink($_link)
	{
		$this->link=(string)$_link;
		$this->setAttribute('link',$_link);
	}
	
	public function getLink()
	{
		return $this->link;
	}
	
	public function setText($_text)
	{
		$this->text=(string)$_text;
		$this->setAttribute('text',$_text);
	}
	
	public function getText()
	{
		return $this->text;
	}
	
	public function setVLink($_vlink)
	{
		$this->vlink=(string)$_vlink;
		$this->setAttribute('vlink',$_vlink);
	}
	
	public function getVLink()
	{
		return $this->vlink;
	}
}

?>